﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Site1.Master" AutoEventWireup="true" CodeBehind="Contacto.aspx.cs" Inherits="BoxScore.Home.Contacto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="lateral1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="lateral2" runat="server">
				        <img  width="240px" src="../Home/images/under_construction.gif" alt="Sitio en construccion" />
				        <h3>Sitio en Construcci&oacute;n</h3>


</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="lateral3" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="contenido" runat="server">

    <h2 class="title">Contactenos</h2>
<hr />

<asp:UpdatePanel runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <th>Nombre y Apellido</th>
                <td>
                    <asp:TextBox ID="txtname" runat="server"></asp:TextBox>
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="* Obligatorio" ControlToValidate="txtname"></asp:RequiredFieldValidator>
                    
                </td>
            </tr>
            
                <tr>
                <th>Correo Electronico</th>
                <td>
                    <asp:TextBox ID="txtemailfrom" runat="server"></asp:TextBox>
                    
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                        runat="server" 
                        ErrorMessage="* Correo no valido" 
                        ControlToValidate="txtemailfrom" Text=""
                        ValidationExpression="\w+([-.]\w+)?@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>            
                </td>
            </tr>
            <tr>
                <th>Asunto:</th>
                <td>
                    <asp:TextBox ID="txtsubject" runat="server"></asp:TextBox>
                </td>
            
            </tr>
            <tr>
                <td colspan="2">
                    <cc1:Editor ID="Editor1" runat="server" Height="500px" />    
                </td>
            </tr>
            
            <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="Button1" runat="server" Text="Cancelar" 
                        CausesValidation="false" UseSubmitBehavior="false" onclick="Button1_Click" />
                    &nbsp;
                    <asp:Button ID="Button2" runat="server" Text="Enviar" CausesValidation="true" 
                        onclick="Button2_Click" />
                </td>
            </tr>
        </table>

    </ContentTemplate>

</asp:UpdatePanel>



    

</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="resultados" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="proximos" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="publicidadAjena" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="publicidad" runat="server">
</asp:Content>
